Package anderix.otcs
Class OtcsPermissions
java.lang.Object
anderix.otcs.OtcsPermissions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
canSee()
boolean
getName()
getName
(OtcsClient otcs) getNameFormatted
(OtcsClient otcs) long
String[]
getType()
void
lookupNameFromRightId
(OtcsClient otcs, long rightId) static OtcsPermissions[]
-
Constructor Details
-
OtcsPermissions
public OtcsPermissions()
-
-
Method Details
-
getRights
-
canSee
public boolean canSee() -
canSeeContents
public boolean canSeeContents() -
canModify
public boolean canModify() -
canEditAttributes
public boolean canEditAttributes() -
canAddItems
public boolean canAddItems() -
canReserve
public boolean canReserve() -
canDeleteVersions
public boolean canDeleteVersions() -
canDelete
public boolean canDelete() -
canEditPermissions
public boolean canEditPermissions() -
getRightId
public long getRightId() -
getName
-
getName
-
getNameFormatted
-
getNameFormatted
public String getNameFormatted(OtcsClient otcs) throws MalformedURLException, IOException, Exception -
getType
-
lookupNameFromRightId
public void lookupNameFromRightId(OtcsClient otcs, long rightId) throws MalformedURLException, IOException - Throws:
MalformedURLException
IOException
-
parseOtcsPermissionsFromJson
public static OtcsPermissions[] parseOtcsPermissionsFromJson(String json) throws MalformedURLException, IOException - Throws:
MalformedURLException
IOException
-