***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Class OMRGroup

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sas.services.information.metadata.Metadata
                          |
                          +--com.sas.services.information.metadata.OMRGroup
All Implemented Interfaces:
GroupInterface, MetadataInterface,

public class OMRGroup
extends Metadata
implements GroupInterface, java.io.Serializable

Group persisted in a SAS Metadata Repository.

Since:
1.1
See Also:
Serialized Form

Fields inherited from class com.sas.services.information.metadata.Metadata
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
OMRGroup()
           
OMRGroup(Group o)
           
OMRGroup(GroupImpl o)
           
OMRGroup(RepositoryInterface repos, String name, FolderInterface parent)
           
 
Method Summary
 void addMember(MetadataInterface member)
          Adds a member to this 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)
          Sets this group's owner.
 void delete()
          Delete this object from its repository.
 String getDescription()
          Gets the description of the group.
 List getMembers()
          Returns a list of all this group's members.
 List getMembersAllRepositories()
          Get all the members of the group, including those that may be in dependent repositories.
 String getName()
          Get the name for this object.
 List getOwners()
          Returns this group's owner list.
 String getType()
          Get the object type.
 List members()
          Returns a list of all this group's members.
 void refresh()
          Refresh the data for this object from the repository.
 boolean removeMember(MetadataInterface member)
          Removes a member from this group.
 void removeOwner(PersonInterface owner)
          Sets this group's owner.
 
Methods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getInformationService, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getTreeRefresh, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 

Constructor Detail

OMRGroup

public OMRGroup()
         throws RemoteException

OMRGroup

public OMRGroup(Group o)
         throws RemoteException

OMRGroup

public OMRGroup(GroupImpl o)
         throws RemoteException

OMRGroup

public OMRGroup(RepositoryInterface repos,
                String name,
                FolderInterface parent)
         throws RemoteException
Method Detail

getName

public String getName()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the name for this object.

Specified by:
getName in interface MetadataInterface
Overrides:
getName in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
The object name.
Throws:
RemoteException - if an error occurs

getType

public String getType()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the object type. Subclasses of Metadata will return a repository-neutral type string. If no subclass exists, Metadata returns the repository-specific type.
Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
A type string for the object.
Throws:
RemoteException - if an error occurs

getDescription

public String getDescription()
                      throws RemoteException
Description copied from interface: GroupInterface
Gets the description of the group.

Specified by:
getDescription in interface GroupInterface
Overrides:
getDescription in class Metadata
Following copied from interface: com.sas.services.information.metadata.GroupInterface
Returns:
A String describing the group.
Throws:
RemoteException - in the event of remote object failure.

members

public List members()
             throws RemoteException
Returns a list of all this group's members.

Specified by:
members in interface GroupInterface
Returns:
A User iteration.

getMembers

public List getMembers()
                throws RemoteException
Returns a list of all this group's members.

Specified by:
getMembers in interface GroupInterface
Returns:
A User iteration.

getMembersAllRepositories

public List getMembersAllRepositories()
                               throws ServiceException,
                                      RemoteException
Description copied from interface: GroupInterface
Get all the members of the group, including those that may be in dependent repositories.
Specified by:
getMembersAllRepositories in interface GroupInterface
Following copied from interface: com.sas.services.information.metadata.GroupInterface
Returns:
A List of MetadataInterface objects representing the members of the group.
Throws:
ServiceException - In the event of repository errors.
RemoteException - In the event of remote object failure.

addMember

public void addMember(MetadataInterface member)
               throws RemoteException
Adds a member to this group.
Specified by:
addMember in interface GroupInterface
Parameters:
member - The member to add.
Throws:
RemoteException - Thrown for enterprise directory failure.

addMemberOrdered

public void addMemberOrdered(MetadataInterface member)
                      throws RemoteException
Description copied from interface: GroupInterface
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).
Specified by:
addMemberOrdered in interface GroupInterface
Following copied from interface: com.sas.services.information.metadata.GroupInterface
Parameters:
member - The new member to add.
Throws:
RemoteException - In the event of remote object failure.

removeMember

public boolean removeMember(MetadataInterface member)
                     throws RemoteException
Removes a member from this group.
Specified by:
removeMember in interface GroupInterface
Parameters:
member - The member to remove.
Throws:
RemoteException - Thrown for enterprise directory failure.

getOwners

public List getOwners()
               throws RemoteException
Returns this group's owner list.

Specified by:
getOwners in interface GroupInterface
Returns:
The list of Person entries whose role is owner.

addOwner

public void addOwner(PersonInterface owner)
              throws RemoteException
Sets this group's owner.

This change is not persisted to the enterprise directory until updateStore is called.

Specified by:
addOwner in interface GroupInterface
Parameters:
owner - The owner.

removeOwner

public void removeOwner(PersonInterface owner)
                 throws RemoteException
Sets this group's owner.

This change is not persisted to the enterprise directory until updateStore is called.

Specified by:
removeOwner in interface GroupInterface
Parameters:
owner - The owner.

delete

public void delete()
            throws ServiceException,
                   RemoteException
Description copied from interface: MetadataInterface
Delete this object from its repository. This may be overridden by subclasses to perform clean up operations on other objects that may be dependent on this one.

Specified by:
delete in interface MetadataInterface
Overrides:
delete in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Throws:
ServiceException - in the event of a repository failure.
RemoteException - in the event of a network failure.

refresh

public void refresh()
             throws ServiceException,
                    RemoteException
Refresh the data for this object from the repository. The group's attributes as well as the following associations will be refreshed:
Specified by:
refresh in interface MetadataInterface
Overrides:
refresh in class Metadata
Throws:
ServiceException - if a repository error occurs.
RemoteException - in the event of remote object failure.

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:58