|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ContentManagerException | |
---|---|
pt.digitalis.dif.utils.extensions.cms | |
pt.digitalis.dif.utils.extensions.cms.exception |
Uses of ContentManagerException in pt.digitalis.dif.utils.extensions.cms |
---|
Methods in pt.digitalis.dif.utils.extensions.cms that throw ContentManagerException | |
---|---|
ContentItem |
IContentManager.addContent(ContentItem content)
Adds a new content to the repository. |
ContentItem |
AbstractContentManager.addContent(ContentItem content)
|
Node |
IContentManager.addNode(Node node)
Adds a new content to the repository Will assign the ID internally |
Node |
AbstractContentManager.addNode(Node node)
|
boolean |
Node.delete()
Node is deleted in DB. |
boolean |
ContentItem.delete()
ContentItem is deleted in DB. |
boolean |
Node.deleteCascade()
Node is deleted in DB, as well has its child nodes. |
boolean |
IContentManager.deleteContent(String id,
IDIFUser user)
Deletes an existing content from the repository |
boolean |
AbstractContentManager.deleteContent(String id,
IDIFUser user)
|
protected abstract boolean |
AbstractContentManager.deleteContentInRepository(String id,
IDIFUser user)
Deletes an existing content from the repository |
boolean |
IContentManager.deleteNode(Long id,
IDIFUser user)
Deletes an existing node from the repository |
boolean |
AbstractContentManager.deleteNode(Long id,
IDIFUser user)
|
boolean |
IContentManager.deleteNode(Long id,
IDIFUser user,
boolean cascadeDelete)
Deletes an existing node from the repository. |
boolean |
AbstractContentManager.deleteNode(Long id,
IDIFUser user,
boolean cascadeDelete)
|
protected abstract boolean |
AbstractContentManager.deleteNodeInRepository(Long nodeId,
IDIFUser user,
boolean cascadeDelete)
Deletes an existing node from the repository. |
protected String |
AbstractContentManager.determineFullPath(Node node)
Determines the full path String base in the Node chain |
List<ACLEntry> |
Node.getACL()
Get ACL. |
List<ACLEntry> |
ContentItem.getACL()
Get ACL. |
List<ContentItem> |
IContentManager.getContentByDescription(String description,
IDIFUser user)
Searches content items by description |
List<ContentItem> |
AbstractContentManager.getContentByDescription(String description,
IDIFUser user)
|
protected abstract List<ContentItem> |
AbstractContentManager.getContentByDescriptionInRepository(String description,
IDIFUser user)
Searches content items by description |
ContentItem |
IContentManager.getContentById(String id,
IDIFUser user)
Searches a content item by it's unique identifier |
ContentItem |
AbstractContentManager.getContentById(String id,
IDIFUser user)
|
protected abstract ContentItem |
AbstractContentManager.getContentByIdInRepository(String id,
IDIFUser user)
Searches an existing content by it's unique identifier |
protected ContentItem |
AbstractContentManager.getContentByIdNoPermissions(String id,
IDIFUser user)
Searches an existing content by it's unique identifier, without access validation |
protected abstract ContentItem |
AbstractContentManager.getContentByIdNoPermissionsInRepository(String id,
IDIFUser user)
Searches an existing content by it's unique identifier, without access validation |
List<ContentItem> |
IContentManager.getContentByName(String name,
IDIFUser user)
Searches content items by name |
List<ContentItem> |
AbstractContentManager.getContentByName(String name,
IDIFUser user)
|
protected abstract List<ContentItem> |
AbstractContentManager.getContentByNameInRepository(String name,
IDIFUser user)
Searches content items by name |
List<ContentItem> |
IContentManager.getContentByParentNode(Long nodeId,
IDIFUser user)
Searches content items by parent node |
List<ContentItem> |
AbstractContentManager.getContentByParentNode(Long nodeId,
IDIFUser user)
|
protected abstract List<ContentItem> |
AbstractContentManager.getContentByParentNodeInRepository(Long nodeId,
IDIFUser user)
Searches content items by parent node |
ContentItem |
IContentManager.getContentFromNodePathByName(String nodeFullPath,
String name,
IDIFUser user)
Searches content items by name and node path |
ContentItem |
AbstractContentManager.getContentFromNodePathByName(String nodeFullPath,
String name,
IDIFUser user)
|
protected abstract ContentItem |
AbstractContentManager.getContentFromNodePathByNameRepository(String nodeFullPath,
String name,
IDIFUser user)
Searches content items by name and node path on the repository |
List<ACLEntry> |
IContentManager.getContentItemACL(String id)
get content item ACL |
List<ACLEntry> |
AbstractContentManager.getContentItemACL(String id)
|
protected abstract List<ACLEntry> |
AbstractContentManager.getContentItemACLInRepository(String id)
get node ACL |
List<Node> |
Node.getInnerNodes()
|
List<ContentItem> |
Node.getItems()
|
List<ACLEntry> |
IContentManager.getNodeACL(Long id)
get node ACL |
List<ACLEntry> |
AbstractContentManager.getNodeACL(Long id)
|
protected abstract List<ACLEntry> |
AbstractContentManager.getNodeACLInRepository(Long id)
get node ACL |
Node |
IContentManager.getNodeById(Long id,
IDIFUser user)
Searches a node by unique identifier |
Node |
AbstractContentManager.getNodeById(Long id,
IDIFUser user)
|
protected abstract Node |
AbstractContentManager.getNodeByIdInRepository(Long id,
IDIFUser user)
Searches a node by unique identifier |
protected Node |
AbstractContentManager.getNodeByIdNoPermissions(Long nodeID,
IDIFUser user)
Searches a node by unique identifier. |
protected abstract Node |
AbstractContentManager.getNodeByIdNoPermissionsInRepository(Long id,
IDIFUser user)
Searches for a given node. |
Node |
IContentManager.getNodeByPath(String fullPath,
IDIFUser user)
Searches a node by path |
Node |
AbstractContentManager.getNodeByPath(String fullPath,
IDIFUser user)
|
protected abstract Node |
AbstractContentManager.getNodeByPathInRespository(String fullPath,
IDIFUser user)
Searches a node by path |
protected Node |
AbstractContentManager.getNodeByPathNoPermissions(String nodePath,
IDIFUser user)
Searches a node by path. |
List<Node> |
IContentManager.getNodesByDescription(String description,
IDIFUser user)
Searches nodes by description |
List<Node> |
AbstractContentManager.getNodesByDescription(String description,
IDIFUser user)
|
List<Node> |
IContentManager.getNodesByDescription(String basePathToSearch,
String description,
IDIFUser user)
Searches nodes by description |
List<Node> |
AbstractContentManager.getNodesByDescription(String basePathToSearch,
String description,
IDIFUser user)
|
protected abstract List<Node> |
AbstractContentManager.getNodesByDescriptionInRepository(String description,
IDIFUser user)
Searches nodes by description |
protected abstract List<Node> |
AbstractContentManager.getNodesByDescriptionInRepository(String basePathToSearch,
String description,
IDIFUser user)
Searches nodes by description |
List<Node> |
IContentManager.getNodesByName(String name,
IDIFUser user)
Searches nodes by name |
List<Node> |
AbstractContentManager.getNodesByName(String name,
IDIFUser user)
|
List<Node> |
IContentManager.getNodesByName(String basePathToSearch,
String name,
IDIFUser user)
Searches nodes by name |
List<Node> |
AbstractContentManager.getNodesByName(String basePathToSearch,
String name,
IDIFUser user)
|
protected abstract List<Node> |
AbstractContentManager.getNodesByNameInRepository(String name,
IDIFUser user)
Searches nodes by name |
protected abstract List<Node> |
AbstractContentManager.getNodesByNameInRepository(String basePathToSearch,
String name,
IDIFUser user)
Searches nodes by name |
List<Node> |
IContentManager.getNodesByParentNode(Long nodeId,
IDIFUser user)
Searches nodes by parent node |
List<Node> |
AbstractContentManager.getNodesByParentNode(Long nodeId,
IDIFUser user)
|
protected abstract List<Node> |
AbstractContentManager.getNodesByParentNodeInRepository(Long nodeId,
IDIFUser user)
Searches nodes by parent node |
protected List<Node> |
AbstractContentManager.getNodesByParentNodeNoPermissions(Long nodeId,
IDIFUser user)
Searches nodes by parent node. |
protected abstract List<Node> |
AbstractContentManager.getNodesByParentNodeNoPermissionsInRepository(Long nodeId,
IDIFUser user)
Searches nodes by parent node. |
protected abstract String |
AbstractContentManager.getParentFullPathInRepository(Node node)
Gets the parent full path |
Node |
Node.getParentNode()
|
Node |
ContentItem.getParentNode()
|
List<Node> |
IContentManager.getRootNodes(IDIFUser user)
Searches root nodes that user has access |
List<Node> |
AbstractContentManager.getRootNodes(IDIFUser user)
|
protected abstract List<Node> |
AbstractContentManager.getRootNodesInRepository(IDIFUser user)
Searches root nodes |
boolean |
Node.grantAccessGroup(String groupId)
Grants Node access to group. |
boolean |
ContentItem.grantAccessGroup(String groupId)
Grants ContentItem access to group. |
boolean |
Node.grantAccessUser(IDIFUser user)
Grants Node access to user. |
boolean |
ContentItem.grantAccessUser(IDIFUser user)
Grants ContentItem access to user. |
boolean |
IContentManager.grantContentAccessToGroup(String contentId,
String groupId)
Grants group access to content item |
boolean |
AbstractContentManager.grantContentAccessToGroup(String contentId,
String groupId)
Grants group access to content item |
protected abstract boolean |
AbstractContentManager.grantContentAccessToGroupInRepository(ContentItem contentItemParam,
String groupId)
Grants group access to content item |
boolean |
IContentManager.grantContentAccessToUser(String contentId,
IDIFUser user)
Grants user access to content item |
boolean |
AbstractContentManager.grantContentAccessToUser(String contentId,
IDIFUser user)
|
protected abstract boolean |
AbstractContentManager.grantContentAccessToUserInRepository(ContentItem contentItemParam,
IDIFUser user)
Grants user access to content item |
boolean |
IContentManager.grantNodeAccessToGroup(Long nodeId,
String groupId)
Grants group access to node |
boolean |
AbstractContentManager.grantNodeAccessToGroup(Long nodeId,
String groupId)
|
protected abstract boolean |
AbstractContentManager.grantNodeAccessToGroupInRepository(Node nodeParam,
String groupId)
Grants group access to node |
boolean |
IContentManager.grantNodeAccessToUser(Long nodeId,
IDIFUser user)
Grants user access to node |
boolean |
AbstractContentManager.grantNodeAccessToUser(Long nodeId,
IDIFUser user)
|
boolean |
IContentManager.grantNodeAccessToUser(String nodePath,
IDIFUser user)
Grants user access to node |
boolean |
AbstractContentManager.grantNodeAccessToUser(String nodePath,
IDIFUser user)
|
protected abstract boolean |
AbstractContentManager.grantNodeAccessToUserInRepository(Node nodeParam,
IDIFUser user)
Grants user access to node |
boolean |
AbstractContentManager.hasContentAccessGroup(ContentItem contentItem,
String groupId)
Checks if group has access to the content |
boolean |
IContentManager.hasContentAccessGroup(String contentId,
String groupId)
Checks if group has access to the content |
boolean |
AbstractContentManager.hasContentAccessGroup(String contentId,
String groupId)
|
boolean |
AbstractContentManager.hasContentAccessGroups(ContentItem contentItem,
Set<String> groups)
Checks if one of the group in the list has access to the content |
protected abstract boolean |
AbstractContentManager.hasContentAccessGroupsInRepository(String contentId,
Set<String> groups)
Checks if one of the groups has access to the content |
boolean |
IContentManager.hasContentAccessUser(ContentItem content,
IDIFUser user)
Checks if user has access to the content |
boolean |
AbstractContentManager.hasContentAccessUser(ContentItem contentItem,
IDIFUser user)
|
boolean |
IContentManager.hasContentAccessUser(String contentId,
IDIFUser user)
Checks if user has access to the content |
boolean |
AbstractContentManager.hasContentAccessUser(String contentId,
IDIFUser user)
|
protected abstract boolean |
AbstractContentManager.hasContentAccessUserInRepository(String contentId,
IDIFUser user)
Checks if group has access to thentent |
boolean |
IContentManager.hasNodeAccessGroups(Long nodeId,
Set<String> groups)
Checks if one of the group has access to the node |
boolean |
AbstractContentManager.hasNodeAccessGroups(Long nodeId,
Set<String> groups)
|
protected abstract boolean |
AbstractContentManager.hasNodeAccessGroupsInRepository(Long nodeId,
Set<String> groups)
Checks if one of the groups has access to the node |
boolean |
IContentManager.hasNodeAccessUser(Long nodeId,
IDIFUser user)
Checks if user has access to the node |
boolean |
AbstractContentManager.hasNodeAccessUser(Long nodeId,
IDIFUser user)
|
boolean |
AbstractContentManager.hasNodeAccessUser(Node node,
IDIFUser user)
Checks if user has access to the node |
protected abstract boolean |
AbstractContentManager.hasNodeAccessUserInRespository(Long nodeId,
IDIFUser user)
Checks if user has access to the node |
protected abstract ContentItem |
AbstractContentManager.mergeContentInRepository(ContentItem contentParam,
IDIFUser user)
Updates a content item |
boolean |
IContentManager.moveContent(String contentID,
Long destinationNodeId,
IDIFUser user)
Moves content to another node |
boolean |
AbstractContentManager.moveContent(String contentID,
Long destinationNodeId,
IDIFUser user)
|
protected abstract ContentItem |
AbstractContentManager.moveContentInRepository(ContentItem contentParam,
Node nodeParam,
IDIFUser user)
Moves content to another node |
boolean |
IContentManager.moveNode(Long nodeID,
Long destinationNodeId,
IDIFUser user)
Moves a node to another parent node |
boolean |
AbstractContentManager.moveNode(Long nodeID,
Long destinationNodeId,
IDIFUser user)
|
protected boolean |
AbstractContentManager.nodeExists(Long id,
IDIFUser user)
Searches a node by unique identifier. |
protected abstract boolean |
AbstractContentManager.nodeExistsInRepository(Long id,
IDIFUser user)
Searches a node by unique identifier in the repository. |
protected abstract ContentItem |
AbstractContentManager.persistContentInRepository(ContentItem content,
IDIFUser user)
Adds a new content to repository. |
protected abstract Node |
AbstractContentManager.persistNodeInRepository(Node node,
IDIFUser user)
Adds a new content to repository. |
boolean |
Node.revokeAccessGroup(String groupId)
Revokes Node access to group. revoke access is done immediately |
boolean |
ContentItem.revokeAccessGroup(String groupId)
Revokes ContentItem access to group. revoke access is done immediately |
boolean |
Node.revokeAccessUser(IDIFUser user)
Revokes Node access to group. revoke access is done immediately |
boolean |
ContentItem.revokeAccessUser(IDIFUser user)
Revokes ContentItem access to group. revoke access is done immediately |
boolean |
IContentManager.revokeContentAccessToGroup(String contentId,
String groupId)
Revokes group access to content item |
boolean |
AbstractContentManager.revokeContentAccessToGroup(String contentId,
String groupId)
|
boolean |
IContentManager.revokeContentAccessToUser(String contentId,
IDIFUser user)
Revokes user access to content item |
boolean |
AbstractContentManager.revokeContentAccessToUser(String contentId,
IDIFUser user)
|
boolean |
IContentManager.revokeNodeAccessToGroup(Long nodeId,
String groupId)
Revokes group access to node |
boolean |
AbstractContentManager.revokeNodeAccessToGroup(Long nodeId,
String groupId)
|
protected abstract boolean |
AbstractContentManager.revokeNodeAccessToGroupInRepository(Long nodeId,
String groupId)
Revokes group access to node |
boolean |
IContentManager.revokeNodeAccessToUser(Long nodeId,
IDIFUser user)
Revokes user access to node |
boolean |
AbstractContentManager.revokeNodeAccessToUser(Long nodeId,
IDIFUser user)
|
protected abstract boolean |
AbstractContentManager.revokeNodeAccessToUserInRepository(Long nodeId,
IDIFUser user)
Revokes user access to node |
boolean |
Node.update()
Updates the Node with current object values. |
boolean |
ContentItem.update()
Updates the ContentItem with current object values. |
ContentItem |
IContentManager.updateContent(ContentItem content)
Updates content in the repository |
ContentItem |
AbstractContentManager.updateContent(ContentItem content)
|
Node |
IContentManager.updateNode(Node node)
Updates content in the repository |
Node |
AbstractContentManager.updateNode(Node node)
|
Uses of ContentManagerException in pt.digitalis.dif.utils.extensions.cms.exception |
---|
Subclasses of ContentManagerException in pt.digitalis.dif.utils.extensions.cms.exception | |
---|---|
class |
AlreadyDeletedException
This exception occurs when there is an operation on a Node or a ContentItem object when this object was already deleted in the repository |
class |
ContentItemNotFoundException
This exception occurs when there is a search of a ContentItem in the repository and the ContentItem is not found |
class |
ContentItemWithDuplicateNameAndParentNodeException
This exception occurs when a user tries to insert a content item in a node that already has a content item with the same name |
class |
InvalidNameException
This exception occurs when an a CMS operation is done with a node or a content item invalid name |
class |
InvalidParentNodeException
This exception occurs when an a CMS operation is done with an invalid parent node reference |
class |
InvalidPathException
This exception occurs when an a CMS operation is done with an invalid path; |
class |
NoAccessException
This exception occurs when a user trys to do a CMS operation in a node or a content item that he doesn't have access. |
class |
NodeNotFoundException
This exception occurs when there is a search of a Node in the repository and the Node is not found |
class |
NodeWithDuplicatePathException
This exception occurs when a user tries to insert a node with a path that already exists |
class |
NodeWithNodesException
This exception occurs when a user tries to delete a Node that has child Nodes. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |