|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupInterface
This is a generic interface for objects coming out of the repositories that represent groups. A generic group can be a collection of any type of metadata object.
Field Summary |
---|
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
void |
addMember(MetadataInterface member)
Add a new member to the group. |
void |
addMemberOrdered(MetadataInterface member)
Add a new member to the group such that it will be ordered even if it's in another repository (This is primarily for OMR groups). |
void |
addOwner(PersonInterface owner)
Add a person as an owner of the group. |
java.util.List |
getMembers()
Get the members of the group. |
java.util.List |
getMembersAllRepositories()
Get all the members of the group, including those that may be in dependent repositories. |
java.util.List |
getOwners()
Get the list of owners for this list. |
java.util.List |
members()
Get the members of the group. |
boolean |
removeMember(MetadataInterface member)
Remove a member from the group. |
void |
removeOwner(PersonInterface owner)
Remove a person from the owner list. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
java.util.List members() throws ServiceException, java.rmi.RemoteException
MetadataInterface
objects representing the members of the group.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getMembers() throws ServiceException, java.rmi.RemoteException
MetadataInterface
objects representing the members of the group.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getMembersAllRepositories() throws ServiceException, java.rmi.RemoteException
MetadataInterface
objects
representing the members of the group.
ServiceException
- In the event of repository errors.
java.rmi.RemoteException
- In the event of remote object failure.void addMember(MetadataInterface member) throws ServiceException, java.rmi.RemoteException
member
- The new member to add.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void addMemberOrdered(MetadataInterface member) throws ServiceException, java.rmi.RemoteException
member
- The new member to add.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean removeMember(MetadataInterface member) throws ServiceException, java.rmi.RemoteException
member
- The member to remove.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getOwners() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void addOwner(PersonInterface owner) throws ServiceException, java.rmi.RemoteException
owner
- The person to add as an owner.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void removeOwner(PersonInterface owner) throws ServiceException, java.rmi.RemoteException
owner
- The person to remove from the list of owners.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |