public class DefaultGroup extends AbstractDirectoryEntity implements Group
CUSTOM_DATAdeletedPropertyNames, dirty, dirtyProperties, HREF_PROP_NAME, properties, readLock, referenceFactory, writeLock| Constructor and Description |
|---|
DefaultGroup(InternalDataStore dataStore) |
DefaultGroup(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AccountStoreVisitor visitor) |
GroupMembership |
addAccount(Account account) |
void |
delete() |
GroupMembershipList |
getAccountMemberships() |
AccountList |
getAccounts() |
AccountList |
getAccounts(AccountCriteria criteria) |
AccountList |
getAccounts(Map<String,Object> queryParams) |
CustomData |
getCustomData() |
String |
getDescription() |
Directory |
getDirectory() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
GroupStatus |
getStatus() |
Tenant |
getTenant() |
void |
save() |
void |
saveWithResponseOptions(GroupOptions groupOptions) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setStatus(GroupStatus status) |
applyCustomDataUpdatesIfNecessarycreatePropertyDescriptorMap, equals, getBoolean, getBooleanProperty, getDataStore, getDateProperty, getDeletedPropertyNames, getHref, getInt, getIntProperty, getProperty, getPropertyNames, getResourceProperty, getString, getStringProperty, getUpdatedPropertyNames, hashCode, isDirty, isMaterialized, isNew, isPrintableProperty, materialize, setProperties, setProperty, setProperty, setProperty, setResourceProperty, toStringpublic DefaultGroup(InternalDataStore dataStore)
public DefaultGroup(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic String getDescription()
getDescription in interface Grouppublic void setDescription(String description)
setDescription in interface Grouppublic GroupStatus getStatus()
public void setStatus(GroupStatus status)
public CustomData getCustomData()
getCustomData in interface GroupgetCustomData in class AbstractDirectoryEntitypublic Directory getDirectory()
getDirectory in interface Grouppublic AccountList getAccounts()
getAccounts in interface Grouppublic AccountList getAccounts(Map<String,Object> queryParams)
getAccounts in interface Grouppublic AccountList getAccounts(AccountCriteria criteria)
getAccounts in interface Grouppublic GroupMembershipList getAccountMemberships()
getAccountMemberships in interface Grouppublic GroupMembership addAccount(Account account)
addAccount in interface Grouppublic void accept(AccountStoreVisitor visitor)
accept in interface AccountStorepublic void save()
save in interface Saveablesave in class AbstractInstanceResourcepublic void saveWithResponseOptions(GroupOptions groupOptions)
saveWithResponseOptions in interface GroupCopyright © 2012–2014. All rights reserved.