public interface IContainerMechanics extends IVersionableMechanics, IViewableContainerMechanics
Modifier and Type | Field and Description |
---|---|
static String |
CREATE_DEFAULT_CONTAINER |
static String |
SORT_ITEMNAME
Available sort orders for pageing cookie
|
static String |
SORT_MODIFIED |
static String |
SORT_NONE_SPECIFIED |
static String |
SORT_SORTID |
static String |
SORT_TYPE |
PROP_CUSTOM_FILE_ENCODING, PROP_FILE_ENCODING, TITLEBAR_ACTION_SHOW_ADD_TO_HOME, TITLEBAR_ACTION_SHOW_DISPLAY_OPTIONS, TITLEBAR_ACTION_SHOW_MAXIMIZED, TITLEBAR_ACTION_SHOW_MINIMIZED, TITLEBAR_ACTION_SHOW_NORMAL
CONTENT_FORMAT_EMAIL, CONTENT_FORMAT_EMAIL_DIGEST, CONTENT_FORMAT_PORTAL_INBOX, CONTENT_FORMAT_PORTAL_INBOX_DIGEST, HEADER_FROM, HEADER_SUBJECT, HEADER_TO
COMMENTS_LINK_TYPE, CONTENT_LINK_TYPE, DEFAULT_ORDER, DEFAULT_PAGE_SIZE, DEFAULT_SORT, DETAILS_LINK_TYPE, LARGE_ICON_TYPE, LINK_TYPE, LINK_TYPE_COMMENTS, LINK_TYPE_CONTENT, LINK_TYPE_DETAILS, LINK_TYPE_EDIT, LINK_TYPE_HELP, LINK_TYPE_HELP_MAXIMIZED, LINK_TYPE_MAXIMIZED, LINK_TYPE_MINIMIZED, LINK_TYPE_PERMISSIONS, LINK_TYPE_PORTAL_CONTENT, LINK_TYPE_PORTLET_STANDALONE, LINK_TYPE_PROPERTIES, LINK_TYPE_RESTORED, LINK_TYPE_SUBSCRIPTIONS, LINK_TYPE_THUMBNAILS, LINK_TYPE_VERSIONS, PERMISSIONS_LINK_TYPE, PORTAL_CONTENT_LINK_TYPE, PROPERTIES_LINK_TYPE, PROPERTY_LINK_TARGET, PROPERTY_OWNER_NAME, PROPERTY_PARENT_NAME, PROPERTY_TOOLTIP, REFERENCE_ICON_TYPE, SUBSCRIPTIONS_LINK_TYPE, THUMBNAIL_ICON_TYPE, THUMBNAILS_LINK_TYPE, VERSIONS_LINK_TYPE
ACCESS_DENIED, ACCESS_GRANTED, ACCESS_RIGHT_ID, ACCESS_RIGHT_LONG_NAME, ACCESS_RIGHT_SHORT_NAME, ACCESS_RIGHTS_CONTAINER, ACCESS_UNSPECIFIED, AUTH_LEVEL_ANONYMOUS, AUTH_LEVEL_BASIC, AUTH_LEVEL_DEFAULT, AUTH_LEVEL_FULL_ACCESS, AUTH_LEVEL_KERBEROS, AUTH_LEVEL_NTLM, AUTH_LEVEL_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
addReferenceToChild(IThingID containerId,
IThingID childId)
Adds a reference to the specified child into the specified container.
|
boolean |
canAddChild(IThingID containerId,
IThingID userId,
int xtype)
Returns true if the specified user can add a child of the specified type can to the specified container.
|
boolean |
canAddReference(IThingID containerId,
IThingID user,
int xtype)
Returns true if the specified user can add a reference to the specified type can to the specified container.
|
boolean |
canListChildren(IThingID containerId,
IThingID userId,
Map<?,?> capabilities)
Returns true if the specified user has access to view a contents list.
|
boolean |
canRemoveChild(IThingID containerId,
IThingID userId,
int xtype)
Returns true if the specified user can remove a child of the specified type can to the specified container.
|
boolean |
canRemoveReference(IThingID containerId,
IThingID user,
int xtype)
Returns true if the specified user can remove a reference to the specified type can to the specified container.
|
void |
checkAddChild(IThingID containerId,
IThingID userId,
int xtype)
Throws a
PortalAccessException if the specified user cannot add a child of the specified type can to the specified container. |
void |
checkAddReference(IThingID containerId,
IThingID user,
int xtype)
Throws a
PortalAccessException if the specified user cannot add a reference to the specified type can to the specified container. |
void |
checkHasPrimaryChild(IThingID containerId,
String name)
Throws an exception if this container has an active, non-reference child with the specified name.
|
void |
checkIsDescendantOrSelf(IThingID containerId,
IThingID descendantId,
boolean isCopy)
If a call to
isDescendantOrSelf(com.webmethods.portal.service.meta2.thing.IThingID, com.webmethods.portal.service.meta2.thing.IThingID) returns true, throw an exception |
void |
checkListChildren(IThingID containerId,
IThingID userId,
Map<?,?> capabilities)
Throws a
PortalAccessException if the specified user does not have access to view a contents list. |
void |
checkRemoveChild(IThingID containerId,
IThingID userId,
int xtype)
Throws a
PortalAccessException if the specified user cannot remove a child of the specified type can to the specified container. |
void |
checkRemoveReference(IThingID containerId,
IThingID user,
int xtype)
Throws a
PortalAccessException if the specified user cannot remove a reference to the specified type can to the specified container. |
IThingID |
copyChild(IThingID containerId,
IThingID userId,
IThingID childId)
Creates a new copy of the specified child in the specified container.
|
IThingID |
copyChild(IThingID containerId,
IThingID userId,
IThingID childId,
String newName)
Moves and renames the specified child into the specified container.
|
IThingID |
createChild(IThingID containerId,
IThingID userId,
int xtype,
Map<String,? extends Object> properties)
Creates a new child of the specified xtype in the specified container.
|
IThingID |
createChild(IThingID containerId,
IThingID userId,
int xtype,
Map<String,? extends Object> properties,
Locale locale)
The same as
createChild(com.webmethods.portal.service.meta2.thing.IThingID, com.webmethods.portal.service.meta2.thing.IThingID, int, java.util.Map)
but take locale for 'name' and 'description' properties |
void |
fireAddChildEvent(IThingID containerId,
IThingID userId,
int status,
IThingID childId)
Fires a add child event.
|
void |
fireAddReferenceEvent(IThingID containerId,
IThingID userId,
int status,
IThingID referenceId)
Fires a add reference event.
|
void |
fireCopyChildEvent(IThingID dstContainerId,
IThingID userId,
int status,
IThingID dstChildId,
IThingID srcContainerId,
IThingID srcChildId)
Fires a copy child event.
|
void |
fireCopyReferenceEvent(IThingID dstContainerId,
IThingID userId,
int status,
IThingID referenceId,
IThingID srcContainerId)
Fires a copy reference event.
|
void |
fireListChildrenEvent(IThingID containerId,
IThingID userId,
int status)
Fires a list contents event.
|
void |
fireMoveChildEvent(IThingID dstContainerId,
IThingID userId,
int status,
IThingID childId,
IThingID srcContainerId)
Fires a move child event.
|
void |
fireMoveChildEvent(IThingID dstContainerId,
IThingID userId,
int status,
IThingID childId,
IThingID srcContainerId,
String srcName)
Fires a move child event.
|
void |
fireMoveReferenceEvent(IThingID dstContainerId,
IThingID userId,
int status,
IThingID referenceId,
IThingID srcContainerId)
Fires a move reference event.
|
void |
fireRemoveReferenceEvent(IThingID containerId,
IThingID userId,
int status,
IThingID referenceId)
Fires a remove reference event.
|
IThingID |
getPrimaryChild(IThingID containerID,
String name)
Retrieve a primary child of the given container by name.
|
IThingID |
getPrimaryChildNoCache(IThingID containerID,
String name)
Retrieves primary child of given container by name bypassing container cache
|
IThingID |
getReference(IThingID containerID,
String name)
Retrieve a reference in the given container by name.
|
ISelectedListView |
getSelectedListView(IThingID rootID,
IThingID resourceID,
IThingID userID,
int depth)
Given a root, and a current resource, walk down from the root
depth levels. |
ISelectedListView |
getSelectedListView(IThingID rootID,
IThingID resourceID,
IThingID userID,
int depth,
boolean includeItems)
Given a root, and a current resource, walk down from the root
depth levels. |
boolean |
hasPrimaryChild(IThingID containerId,
String name)
Returns true if this container has an active, non-reference child with the specified name.
|
boolean |
hasReference(IThingID containerId,
String name)
Returns true if this container has a reference child with the specified name.
|
boolean |
isDescendantOrSelf(IThingID containerId,
IThingID descendantId)
True if the second thing is a descendant of the first, or is the same thing.
|
IThingIDList |
listChildren(IThingID containerId)
Returns a list of all the children in the specified container.
|
IListView<? extends IView> |
listChildren(IThingID containerId,
IPagingCookie cookie,
int action,
int rights)
Deprecated.
|
IListView<? extends IView> |
listChildren(IThingID containerId,
IPagingCookie cookie,
int action,
IRightSet rights)
Returns a list of the specified length (or less) from the specified
start index in the specified container.
|
IThingIDList |
listChildren(IThingID containerId,
IThingID userId,
int start,
int end)
Returns a list of the specified length (or less) from the specified
start index in the specified container.
|
IThingIDList |
listChildren(IThingID containerId,
IThingID userId,
int start,
int end,
int relType)
Returns a list of the specified length (or less) from the specified
start index in the specified container.
|
IListView<? extends IView> |
listChildren(IThingID containerId,
IThingID userId,
IPagingCookie cookie,
int action,
int rights)
Deprecated.
ise {@link #listChildren(IThingID, IThingID, IPagingCookie, int, IRightSet) instead
|
IListView<? extends IView> |
listChildren(IThingID containerId,
IThingID userId,
IPagingCookie cookie,
int action,
IRightSet rights)
Returns a list of the specified length (or less) from the specified
start index filtered for the specified user.
|
IThingIDList |
listChildren(IThingID containerId,
String name)
Returns the active children and references with the specified name.
|
IThingIDList |
listChildren(IThingID containerID,
String name,
boolean ignoreCase)
Returns all children of the given container with the specified name
|
IListView<? extends IView> |
listDescendants(IThingID containerId,
IPagingCookie cookie,
int action,
int rights,
int depth,
boolean includeItems)
Deprecated.
|
IListView<? extends IView> |
listDescendants(IThingID containerId,
IPagingCookie cookie,
int action,
IRightSet rights,
int depth,
boolean includeItems)
Returns a list of the specified length (or less) from the specified
start index in the specified container.
|
IListView<? extends IView> |
listDescendants(IThingID containerId,
IThingID userId,
IPagingCookie cookie,
int action,
int rights,
int depth,
boolean includeItems)
Deprecated.
|
IListView<? extends IView> |
listDescendants(IThingID containerId,
IThingID userId,
IPagingCookie cookie,
int action,
IRightSet rights,
int depth,
boolean includeItems)
Returns a list of the specified length (or less) from the specified
start index in the specified container.
|
String |
makeUniqueName(IThingID containerId,
String name)
Makes a name unique to specified container from the specified name.
|
IThingIDList |
matchChildren(IThingID containerId,
String regEx,
Locale locale)
Returns a list of all the children in the specified container which match the regEx.
|
IListView<? extends IView> |
matchChildren(IThingID containerId,
String regEx,
Locale locale,
IPagingCookie cookie,
int action,
int rights)
Deprecated.
|
IListView<? extends IView> |
matchChildren(IThingID containerId,
String regEx,
Locale locale,
IPagingCookie cookie,
int action,
IRightSet rights)
Returns a list of the specified length (or less) from the specified
start index in the specified container which match the regEx.
|
IThingIDList |
matchChildren(IThingID containerId,
String regEx,
Locale locale,
IThingID userId,
int start,
int end)
Returns a list of the specified length (or less) from the specified
start index in the specified container which match the regEx.
|
IListView<? extends IView> |
matchChildren(IThingID containerId,
String regEx,
Locale locale,
IThingID userId,
IPagingCookie cookie,
int action,
int rights)
Deprecated.
|
IListView<? extends IView> |
matchChildren(IThingID containerId,
String regEx,
Locale locale,
IThingID userId,
IPagingCookie cookie,
int action,
IRightSet rights)
Returns a list of the specified length (or less) from the specified
start index filtered for the specified user which match the regEx.
|
void |
moveChild(IThingID containerId,
IThingID childId)
Moves the specified child into the specified container.
|
void |
moveChild(IThingID containerId,
IThingID childId,
String newName)
Moves and renames the specified child into the specified container.
|
void |
removeReferenceToChild(IThingID containerId,
IThingID childId)
Removes the reference to the specified child from the specified container.
|
IView |
viewPrimaryChild(IThingID containerId,
String name)
Returns the active, non-reference child with the specified name, or null if not found.
|
addToVersioning, canAddToVersioning, canCheckIn, canCheckOut, canListVersions, canPublishVersion, canRemoveFromVersioning, canSetCurrentVersion, canUndoCheckOut, canViewVersion, checkAddToVersioning, checkCheckIn, checkCheckOut, checkIn, checkListVersions, checkOut, checkPublishVersion, checkRemoveFromVersioning, checkSetCurrentVersion, checkUndoCheckOut, checkViewVersion, fireAddToVersioningEvent, fireCheckInEvent, fireCheckOutEvent, fireListVersionsEvent, firePublishVersionEvent, fireRemoveFromVersioningEvent, fireSetCurrentVersionEvent, fireUndoCheckOutEvent, fireViewVersionEvent, getCheckedOutBy, getVersion, isCheckedOut, isVersioned, listVersions, publishVersion, removeFromVersioning, setCurrentVersion, undoCheckOut, viewVersion
addNote, addReference, addRelation, canAddNote, canCloneRemote, canCreate, canDelete, canDestroy, canDoTitlebarAction, canListAccess, canListContainers, canListNotes, canRemoveAccess, canRemoveNote, canSetAccess, canSetAuthentication, canSetOwner, canUninstall, canUpdateContent, canUpdateProperties, canVerb, canViewAuthentication, canViewContent, checkAddNote, checkCloneRemote, checkCreate, checkDelete, checkDestroy, checkListAccess, checkListContainers, checkListNotes, checkRemoveAccess, checkRemoveNote, checkSetAccess, checkSetAuthentication, checkSetOwner, checkUninstall, checkUpdateContent, checkUpdateProperties, checkViewAuthentication, checkViewContent, cloneRemote, copy, create, create, delete, destroy, doAfterInstall, doAfterUpgrade, doBeforeUninstall, doBeforeUpgrade, fireAddNoteEvent, fireCacheInvalidateEvent, fireDeleteEvent, fireInsoEvent, fireListAccessEvent, fireListContainersEvent, fireListNotesEvent, firePurgeEvent, fireRemoveAcccesEvent, fireRemoveNoteEvent, fireSetAccessEvent, fireSetAuthenticationEvent, fireSetOwnerEvent, fireUpdateContentEvent, fireUpdatePropertiesEvent, fireViewAuthenticationEvent, fireViewContentEvent, getAccess, getAncestors, getAuthentication, getContent, getContent, getContentStore, getContentStore, getDependencyList, getPrimaryRelatedChild, getPrimaryRelatedContainer, getTimeToLive, isAnonymous, isBaseType, isContainer, isNormal, isReference, isVersionable, isWorkflowEnabled, listAccess, listAccess, listContainers, listContainers, listDependants, listNotes, listRelatedChildren, listRelatedContainers, move, move, prepareForDeletion, removeNote, removeReference, removeRelation, restoreXTypeConfProps, saveXTypeConfProps, setAuthentication, setOwner, setTimeToLive, undeleteAllUndestroyed, updateContent, updateContent, updateProperties, updateProperties
canCopyToClipboard, canCutToClipboard, checkCopyToClipboard, checkCutToClipboard, copyToClipboard, cutToClipboard, getClipboard, getClipboardInfo, newClipboardItem
canDeliverToPrincipal, canEditSubscription, canListSubscriptions, canViewSubscription, checkEditSubscription, checkListSubscriptions, checkViewSubscription, checkViewSubscription, createAppCriteria, createAppCriteriaFolder, createPortletSubscription, createPortletSubscription, disable, disable, disableBySystem, disableBySystem, enable, enable, fireGetAppCriteriaEvent, fireGetSubscriptionEvent, fireSetSubscriptionEvent, fireUnsubscribeEvent, fireViewSubscriptionEvent, generateNotificationContent, generateNotificationHeaders, getAppCriteria, getGroupSubscription, getSubscription, listSubscriptions, listSubscriptions, setGroupSubscription, setGroupSubscription, setSubscription, setSubscription, unsubscribe, unsubscribe, viewSubscription
canView, checkView, createPagingCookie, fireViewEvent, getCss, getCss, getDefaultLinkType, getFormattedProperty, getHierachicalUri, getIcon, getIcon, getLink, getLink, getListProperty, getListPropertyHTML, getListPropertyJS, isEnabled, view, view
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
canRemoveSecurityRealm, canSetSecurityRealm, checkAccess, checkAccessEx, checkRemoveSecurityRealm, checkSetSecurityRealm, cloneAces, fireRemoveAcccesEvent, fireRemoveSecurityRealmEvent, fireSetAccessEvent, fireSetAuthenticationEvent, fireSetOwnerEvent, fireSetSecurityRealmEvent, getAccessEx, getAccessList, getAccessListEx, getAclView, getAuthLevelForAuthScheme, getAuthScheme, getAuthSchemeForAuthLevel, getAuthSchemeForResource, getAvailableAuthSchemes, getDefaultAuthScheme, getRightNameForValue, getRightsForType, getRightValueForName, getSecurityRealm, invalidateAcesForThing, invalidateAcesForUser, listSecurityRealmObjects, removeAces, removeSecurityRealm, setAces, setAcesEx, setSecurityRealm, setSecurityRealm
createPagingCookie
static final String SORT_ITEMNAME
static final String SORT_MODIFIED
static final String SORT_TYPE
static final String SORT_SORTID
static final String SORT_NONE_SPECIFIED
static final String CREATE_DEFAULT_CONTAINER
boolean canListChildren(IThingID containerId, IThingID userId, Map<?,?> capabilities) throws PortalException
PortalException
void checkListChildren(IThingID containerId, IThingID userId, Map<?,?> capabilities) throws PortalException, PortalAccessException
PortalAccessException
if the specified user does not have access to view a contents list.PortalException
PortalAccessException
boolean canAddChild(IThingID containerId, IThingID userId, int xtype) throws PortalException
PortalException
void checkAddChild(IThingID containerId, IThingID userId, int xtype) throws PortalException, PortalAccessException
PortalAccessException
if the specified user cannot add a child of the specified type can to the specified container.PortalException
PortalAccessException
boolean canAddReference(IThingID containerId, IThingID user, int xtype) throws PortalException
PortalException
void checkAddReference(IThingID containerId, IThingID user, int xtype) throws PortalException, PortalAccessException
PortalAccessException
if the specified user cannot add a reference to the specified type can to the specified container.PortalException
PortalAccessException
boolean canRemoveChild(IThingID containerId, IThingID userId, int xtype) throws PortalException
PortalException
void checkRemoveChild(IThingID containerId, IThingID userId, int xtype) throws PortalException, PortalAccessException
PortalAccessException
if the specified user cannot remove a child of the specified type can to the specified container.PortalException
PortalAccessException
boolean canRemoveReference(IThingID containerId, IThingID user, int xtype) throws PortalException
PortalException
void checkRemoveReference(IThingID containerId, IThingID user, int xtype) throws PortalException, PortalAccessException
PortalAccessException
if the specified user cannot remove a reference to the specified type can to the specified container.PortalException
PortalAccessException
void fireListChildrenEvent(IThingID containerId, IThingID userId, int status) throws PortalException
containerId
- Container whose children were listed.userId
- User for whom the children were listed.status
- Status of the event (sucessful, denied, error).PortalException
void fireAddChildEvent(IThingID containerId, IThingID userId, int status, IThingID childId) throws PortalException
containerId
- Container to which the child was added.userId
- User on whose behalf the child was added.status
- Status of the event (sucessful, denied, error).childId
- Added child.PortalException
void fireAddReferenceEvent(IThingID containerId, IThingID userId, int status, IThingID referenceId) throws PortalException
containerId
- Container to which the reference to the child was added.userId
- User on whose behalf the reference to the child was added.status
- Status of the event (sucessful, denied, error).referenceId
- Referenced child.PortalException
void fireCopyChildEvent(IThingID dstContainerId, IThingID userId, int status, IThingID dstChildId, IThingID srcContainerId, IThingID srcChildId) throws PortalException
dstContainerId
- Container into which the child was copied.userId
- User on whose behalf the child was copied.status
- Status of the event (sucessful, denied, error).dstChildId
- New copy of the child.srcContainerId
- Container from which the child was copied.srcChildId
- Old copy of the child.PortalException
void fireCopyReferenceEvent(IThingID dstContainerId, IThingID userId, int status, IThingID referenceId, IThingID srcContainerId) throws PortalException
dstContainerId
- Container into which the reference was copied.userId
- User on whose behalf the reference was copied.status
- Status of the event (sucessful, denied, error).referenceId
- Copied reference.srcContainerId
- Container from which the reference was copied.PortalException
void fireMoveChildEvent(IThingID dstContainerId, IThingID userId, int status, IThingID childId, IThingID srcContainerId) throws PortalException
dstContainerId
- Container into which the child was moved.userId
- User on whose behalf the child was moved.status
- Status of the event (sucessful, denied, error).childId
- Moved child.srcContainerId
- Container from which the child was moved.PortalException
void fireMoveChildEvent(IThingID dstContainerId, IThingID userId, int status, IThingID childId, IThingID srcContainerId, String srcName) throws PortalException
dstContainerId
- Container into which the child was moved.userId
- User on whose behalf the child was moved.status
- Status of the event (sucessful, denied, error).childId
- Moved child.srcContainerId
- Container from which the child was moved.srcName
- the original name of the moved itemPortalException
void fireMoveReferenceEvent(IThingID dstContainerId, IThingID userId, int status, IThingID referenceId, IThingID srcContainerId) throws PortalException
dstContainerId
- Container into which the reference was moved.userId
- User on whose behalf the reference was moved.status
- Status of the event (sucessful, denied, error).referenceId
- Moved reference.srcContainerId
- Container from which the reference was moved.PortalException
void fireRemoveReferenceEvent(IThingID containerId, IThingID userId, int status, IThingID referenceId) throws PortalException
containerId
- Container from which the reference was removed.userId
- User on whose behalf the reference was removed.status
- Status of the event (sucessful, denied, error).referenceId
- Removed reference.PortalException
boolean isDescendantOrSelf(IThingID containerId, IThingID descendantId) throws PortalException
containerId
- the target container for the move or copy operationdescendantId
- the thing that will be moved or copiedPortalException
void checkIsDescendantOrSelf(IThingID containerId, IThingID descendantId, boolean isCopy) throws PortalException
isDescendantOrSelf(com.webmethods.portal.service.meta2.thing.IThingID, com.webmethods.portal.service.meta2.thing.IThingID)
returns true, throw an exceptioncontainerId
- the target container for the move or copy operationdescendantId
- the thing that will be moved or copiedisCopy
- whether to throw a move or a copy exception if it failsPortalException
String makeUniqueName(IThingID containerId, String name) throws PortalException
PortalException
IThingID getPrimaryChild(IThingID containerID, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the child to retrievePortalException
IThingID getPrimaryChildNoCache(IThingID containerID, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the child to retrievePortalException
boolean hasPrimaryChild(IThingID containerId, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the child to retrievePortalException
void checkHasPrimaryChild(IThingID containerId, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the child to checkPortalException
- if the primary child exists.IView viewPrimaryChild(IThingID containerId, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the child to retrievePortalException
IThingID getReference(IThingID containerID, String name) throws PortalException
containerID
- the id of the containername
- the (case-insensitive) name of the reference to retrievePortalException
boolean hasReference(IThingID containerId, String name) throws PortalException
containerId
- the container to lookup the child inname
- the (case-insensitive) name of the reference to lookupPortalException
IThingIDList listChildren(IThingID containerId, String name) throws PortalException
containerId
- the container to lookup the child inname
- the (case-insensitive) name of the reference to lookupIThingIDList
of IThingID
objectsPortalException
IThingIDList listChildren(IThingID containerID, String name, boolean ignoreCase) throws PortalException
containerId
- the container to lookup the child inname
- the name of the reference to lookupignoreCase
- whether to use case sensitive matching. If false, case sensitive matching would be done.IThingIDList
of IThingID
objectsPortalException
IThingIDList listChildren(IThingID containerId) throws PortalException
containerId
- Container.IThingIDList
of IThingID
objectsPortalException
IThingIDList listChildren(IThingID containerId, IThingID userId, int start, int end) throws PortalException
containerId
- Container of descendants.userId
- User for which to filter.start
- List starting index (0 for first item).end
- List ending index (<1 for all items).IThingIDList
of IThingID
objectsPortalException
IThingIDList listChildren(IThingID containerId, IThingID userId, int start, int end, int relType) throws PortalException
containerId
- Container of descendants.userId
- User for which to filter.start
- List starting index (0 for first item).end
- List ending index (<1 for all items).relType
- the relation type to includeIThingIDList
of IThingID
objectsPortalException
@Deprecated IListView<? extends IView> listChildren(IThingID containerId, IPagingCookie cookie, int action, int rights) throws PortalException
listChildren(IThingID, IPagingCookie, int, IRightSet)
insteadcontainerId
- Container of children.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
IListView<? extends IView> listChildren(IThingID containerId, IPagingCookie cookie, int action, IRightSet rights) throws PortalException
containerId
- Container of children.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
@Deprecated IListView<? extends IView> listChildren(IThingID containerId, IThingID userId, IPagingCookie cookie, int action, int rights) throws PortalException
containerId
- Container of children.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
IListView<? extends IView> listChildren(IThingID containerId, IThingID userId, IPagingCookie cookie, int action, IRightSet rights) throws PortalException
containerId
- Container of children.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
IThingIDList matchChildren(IThingID containerId, String regEx, Locale locale) throws PortalException
containerId
- Container.PortalException
IThingIDList matchChildren(IThingID containerId, String regEx, Locale locale, IThingID userId, int start, int end) throws PortalException
containerId
- Container of descendants.userId
- User for which to filter.start
- List starting index (0 for first item).end
- List ending index (<1 for all items).IThingIDList
of IThingID
objectsPortalException
@Deprecated IListView<? extends IView> matchChildren(IThingID containerId, String regEx, Locale locale, IPagingCookie cookie, int action, int rights) throws PortalException
matchChildren(IThingID, String, Locale, IPagingCookie, int, IRightSet)
insteadcontainerId
- Container of children.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
IListView<? extends IView> matchChildren(IThingID containerId, String regEx, Locale locale, IPagingCookie cookie, int action, IRightSet rights) throws PortalException
containerId
- Container of children.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
@Deprecated IListView<? extends IView> matchChildren(IThingID containerId, String regEx, Locale locale, IThingID userId, IPagingCookie cookie, int action, int rights) throws PortalException
matchChildren(IThingID, String, Locale, IThingID, IPagingCookie, int, IRightSet)
insteadcontainerId
- Container of children.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
IListView<? extends IView> matchChildren(IThingID containerId, String regEx, Locale locale, IThingID userId, IPagingCookie cookie, int action, IRightSet rights) throws PortalException
containerId
- Container of children.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.IView
items, or an empty list.PortalException
@Deprecated IListView<? extends IView> listDescendants(IThingID containerId, IPagingCookie cookie, int action, int rights, int depth, boolean includeItems) throws PortalException
listDescendants(IThingID, IPagingCookie, int, IRightSet, int, boolean)
insteadcontainerId
- Container of descendants.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.depth
- Depth to descend. 0 for all, 1 for children, 2 for children & grandchildren, etc.includeItems
- True to list containers and noncontainers;
false to list containers only.IView
items, or an empty list.PortalException
IListView<? extends IView> listDescendants(IThingID containerId, IPagingCookie cookie, int action, IRightSet rights, int depth, boolean includeItems) throws PortalException
containerId
- Container of descendants.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.depth
- Depth to descend. 0 for all, 1 for children, 2 for children & grandchildren, etc.includeItems
- True to list containers and noncontainers;
false to list containers only.IView
items, or an empty list.PortalException
@Deprecated IListView<? extends IView> listDescendants(IThingID containerId, IThingID userId, IPagingCookie cookie, int action, int rights, int depth, boolean includeItems) throws PortalException
listDescendants(IThingID, IThingID, IPagingCookie, int, IRightSet, int, boolean)
insteadcontainerId
- Container of descendants.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.depth
- Depth to descend. 0 for all, 1 for children, 2 for children & grandchildren, etc.includeItems
- True to list containers and noncontainers;
false to list containers only.IView
items, or an empty list.PortalException
IListView<? extends IView> listDescendants(IThingID containerId, IThingID userId, IPagingCookie cookie, int action, IRightSet rights, int depth, boolean includeItems) throws PortalException
containerId
- Container of descendants.userId
- User for which to filter.cookie
- Paging state.action
- Paging action to perform.rights
- User's rights by which to filter.depth
- Depth to descend. 0 for all, 1 for children, 2 for children & grandchildren, etc.includeItems
- True to list containers and noncontainers;
false to list containers only.IView
items, or an empty list.PortalException
ISelectedListView getSelectedListView(IThingID rootID, IThingID resourceID, IThingID userID, int depth) throws PortalException
depth
levels.
(0 would equal the root). Then return the ISelectedListView
that shows
the sibling items at that level, including the current item which is selected. rootID
- the root of the depth based list viewresourceID
- the item that helps determine the selected pathdepth
- how many levels to descend from the root (0 = root)PortalException
ISelectedListView getSelectedListView(IThingID rootID, IThingID resourceID, IThingID userID, int depth, boolean includeItems) throws PortalException
depth
levels.
(0 would equal the root). Then return the ISelectedListView
that shows
the sibling items at that level, including the current item which is selected. rootID
- the root of the depth based list viewresourceID
- the item that helps determine the selected pathdepth
- how many levels to descend from the root (0 = root)includeItems
- True to list containers and noncontainers;
false to list containers only.PortalException
IThingID createChild(IThingID containerId, IThingID userId, int xtype, Map<String,? extends Object> properties) throws PortalException
containerId
- Container in which to create.userId
- User for which to create.xtype
- Child type to create.properties
- New child's properties. May not be null.PortalException
IThingID createChild(IThingID containerId, IThingID userId, int xtype, Map<String,? extends Object> properties, Locale locale) throws PortalException
createChild(com.webmethods.portal.service.meta2.thing.IThingID, com.webmethods.portal.service.meta2.thing.IThingID, int, java.util.Map)
but take locale for 'name' and 'description' propertiescontainerId
- userId
- xtype
- properties
- locale
- PortalException
IThingID copyChild(IThingID containerId, IThingID userId, IThingID childId) throws PortalException
containerId
- Container in which to copy.userId
- User for which to copy.childId
- Child to copy.PortalException
IThingID copyChild(IThingID containerId, IThingID userId, IThingID childId, String newName) throws PortalException
containerId
- Container in which to copy.userId
- User for which to copy.childId
- Child to copy.newName
- the new name to give the childPortalException
void moveChild(IThingID containerId, IThingID childId) throws PortalException
containerId
- Container into which to move.childId
- Child to move.PortalException
void moveChild(IThingID containerId, IThingID childId, String newName) throws PortalException
containerId
- Container into which to move.childId
- Child to move.newName
- the new name to give the childPortalException
void addReferenceToChild(IThingID containerId, IThingID childId) throws PortalException
containerId
- Container in which to add.childId
- Child to add.PortalException
void removeReferenceToChild(IThingID containerId, IThingID childId) throws PortalException
containerId
- Container from which to remove.childId
- Child to remove.PortalException