*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface PropertyGroupInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public interface PropertyGroupInterface
extends MetadataInterface
-
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
Modifier and TypeMethodDescriptionvoidaddCustomizer(SoftwareComponentInterface softcom) Add aSoftwareComponentInterfaceobject as a customizer of this PropertyGroup.voidaddGroupedProperty(AbstractPropertyInterface property) Add aAbstractPropertyInterfaceto the collection grouped by this PropertyGroup.voidAdd a subproperty group.ListGet the List ofSoftwareComponentInterfaceobjects which act as customizers to this group.ListGet the List ofAbstractPropertyInterfaceobjects grouped by this PropertyGroup.intGet the maximum number of properties in this group that may have values.intGet the minimum number of properties in this group that must have values.PortalPropertiesThe portal uses this special method after a search using a special partial filter.ListGet the subproperty groups.booleanShould this group be displayed in a UI?voidRemove aSoftwareComponentInterfacefrom the list of customizers of this PropertyGroup.voidRemove aAbstractPropertyInterfaceobject from the group.voidRemove a subproperty group.voidsetCustomizers(List softcoms) Set the list ofSoftwareComponentInterfaceobjects to act as customizers on this PropertyGroup.voidsetGroupedProperties(List properties) Set the collection ofAbstractPropertyInterfaceobjects grouped by this PropertyGroup.voidsetIsVisible(boolean isVisible) Set flag indicating whether this group should be displayed in a UI.voidsetMaximum(int maximum) Set the maximum allowed number of properties in this group.voidsetMinimum(int minimum) Set the minimum number of properties in this group that must have values.voidsetSubpropertyGroups(List groups) Set the list of subproperty groups.Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
isVisible
Should this group be displayed in a UI?- Returns:
- true or false.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setIsVisible
Set flag indicating whether this group should be displayed in a UI.- Parameters:
isVisible- True if this is a group to be displayed.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getMinimum
Get the minimum number of properties in this group that must have values.- Returns:
- The minimum number of properties with values.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setMinimum
Set the minimum number of properties in this group that must have values.- Parameters:
minimum- The minimum number of properties with values.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getMaximum
Get the maximum number of properties in this group that may have values.- Returns:
- The maximum allowed properties in this group.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setMaximum
Set the maximum allowed number of properties in this group.- Parameters:
maximum- The maximum allowed number of properties in this group.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getSubpropertyGroups
Get the subproperty groups.- Returns:
- A List of PropertyGroupInterface objects that are subproperty groups.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addSubpropertyGroup
Add a subproperty group.- Parameters:
group- A PropertyGroupInterface object to make a subproperty group of this one.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeSubpropertyGroup
Remove a subproperty group.- Parameters:
group- The PropertyGroup to remove as a subproperty group.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setSubpropertyGroups
Set the list of subproperty groups.- Parameters:
groups- A List of PropertyGroupInterface objects to make the current list of subproperty groups.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getCustomizers
Get the List ofSoftwareComponentInterfaceobjects which act as customizers to this group.- Returns:
- A List of
SoftwareComponentInterfaceobjects which are the customizers of this PropertyGroup. - Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addCustomizer
Add aSoftwareComponentInterfaceobject as a customizer of this PropertyGroup.- Parameters:
softcom- TheSoftwareComponentInterfaceobject to make a customizer.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeCustomizer
Remove aSoftwareComponentInterfacefrom the list of customizers of this PropertyGroup.- Parameters:
softcom- TheSoftwareComponentInterfaceto remove from the list of customizers on this PropertyGroup.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setCustomizers
Set the list ofSoftwareComponentInterfaceobjects to act as customizers on this PropertyGroup.- Parameters:
softcoms- The List ofSoftwareComponentInterfaceobjects.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getGroupedProperties
Get the List ofAbstractPropertyInterfaceobjects grouped by this PropertyGroup.- Returns:
- A List of
AbstractPropertyInterfaceobjects grouped by this PropertyGroup. - Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addGroupedProperty
void addGroupedProperty(AbstractPropertyInterface property) throws ServiceException, RemoteException Add aAbstractPropertyInterfaceto the collection grouped by this PropertyGroup.- Parameters:
property- AAbstractPropertyInterfaceobject to add to this group.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeGroupedProperty
void removeGroupedProperty(AbstractPropertyInterface property) throws ServiceException, RemoteException Remove aAbstractPropertyInterfaceobject from the group.- Parameters:
property- TheAbstractPropertyInterfaceto remove from the group.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setGroupedProperties
Set the collection ofAbstractPropertyInterfaceobjects grouped by this PropertyGroup.- Parameters:
properties- The List ofAbstractPropertyInterfaceobjects grouped by this PropertyGroup.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getPortalProperties
The portal uses this special method after a search using a special partial filter. This sets the objects state to AL_PARTIALSET so that jOMA knows that if someone else asks for it, to refetch the data. It then gets the groupedProperties, customizers without allowing a trip to the server, getting only what's already in the object store, and requests the Properties forcing a trip to the server, then returns them in the PortalProperties object.- Returns:
- A PortalProperties object with the cached values in the GroupedProperties, Customizers, and Properties associations.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-