public interface DeprecatedExtendedSecurityService
| Modifier and Type | Method and Description |
|---|---|
void |
addExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<String> readers,
Set<String> writers)
Deprecated.
as of 2.5, use
ExtendedSecurityService.set(NodeRef, Set, Set) |
void |
addExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<String> readers,
Set<String> writers,
boolean applyToParents)
Deprecated.
as of 2.5, because extended security is no longer applied to parents. Note that calling this method will
only apply the extended security to the node and the applyToParents parameter value will be ignored.
|
Set<String> |
getExtendedReaders(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Deprecated.
as of 2.5, use
ExtendedSecurityService.getReaders(NodeRef) |
Set<String> |
getExtendedWriters(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Deprecated.
as of 2.5, use
ExtendedSecurityService.getWriters(NodeRef) |
void |
removeAllExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Deprecated.
as of 2.5, see
ExtendedSecurityService.remove(NodeRef) |
void |
removeAllExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean applyToParents)
Deprecated.
as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
Note that calling this method will now remove all extended security from the node and never applied to parents.
|
void |
removeExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<String> readers,
Set<String> writers)
Deprecated.
as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
Note that calling this method will now remove all extended security from the node and never applied to parents.
|
void |
removeExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Set<String> readers,
Set<String> writers,
boolean applyToParents)
Deprecated.
as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
Note that calling this method will now remove all extended security from the node and never applied to parents.
|
Set<String> getExtendedReaders(org.alfresco.service.cmr.repository.NodeRef nodeRef)
ExtendedSecurityService.getReaders(NodeRef)Set<String> getExtendedWriters(org.alfresco.service.cmr.repository.NodeRef nodeRef)
ExtendedSecurityService.getWriters(NodeRef)@Deprecated void addExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<String> readers, Set<String> writers)
ExtendedSecurityService.set(NodeRef, Set, Set)nodeRef - node referencereaders - set of authorities to add extended read permissionswriters - set of authorities to add extended write permissions@Deprecated void addExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
If specified, the read and write extended permissions are applied to all parents up to the file plan as extended read. This ensures parental read, but not parental write.
nodeRef - node referencereaders - set of authorities to add extended read permissionswriters - set of authorities to add extended write permissionsapplyToParents - true if extended security applied to parents (read only) false otherwise.ExtendedSecurityService.set(NodeRef, Set, Set)@Deprecated void removeAllExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef)
ExtendedSecurityService.remove(NodeRef)nodeRef - node reference@Deprecated void removeExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<String> readers, Set<String> writers)
nodeRef - node referencereaders - set of authorities to remove as extended readerswriters - set of authorities to remove as extended writersExtendedSecurityService#remove(NodeRef)}@Deprecated void removeExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
If specified, extended security will also be removed from the parent hierarchy.(read only). Note that extended security is records as a reference count, so security will only be utterly removed from the parent hierarchy if all references to the authority are removed.
nodeRef - node referencereaders - set of authorities to remove as extended readerswriters - set of authorities to remove as extedned writersapplyToParents - true if removal of extended security is applied to parent hierarchy (read only), false
otherwiseExtendedSecurityService#remove(NodeRef)}@Deprecated void removeAllExtendedSecurity(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean applyToParents)
nodeRef - node referenceapplyToParents - if true then apply removal to parent hierarchy (read only) false otherwise.ExtendedSecurityService#remove(NodeRef)}Copyright © 2005–2017 Alfresco Software. All rights reserved.