Package org.gvsig.vcsgis.lib
Class VCSGisUserImpl
java.lang.Object
org.gvsig.vcsgis.lib.VCSGisUserImpl
- All Implemented Interfaces:
Cloneable,org.gvsig.json.SupportFromJson,org.gvsig.json.SupportJson,org.gvsig.json.SupportToJson,org.gvsig.tools.lang.Cloneable,VCSGisUser,VCSGisUserEditable
- Author:
- gvSIG Team
-
Field Summary
Fields inherited from interface org.gvsig.vcsgis.lib.VCSGisUser
GUEST, ROLE_CHECKOUT, ROLE_COMMIT, ROLE_ENTITIES, ROLE_HISTORY, ROLE_ROWCREATE, ROLE_ROWDELETE, ROLE_ROWUPDATE, ROLE_UPDATE, ROLE_USERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcopy(VCSGisUser source, VCSGisUser target) voidcopyFrom(VCSGisUser other) static voidcopyUser(VCSGisUser source, VCSGisUserEditable target) voidfromJson(javax.json.JsonObject json) static voidfromJson(VCSGisUserEditable user, javax.json.JsonObject json) getRoles()getRolesAsList(VCSGisUser user) booleanisAllowedOperation(String operation) static booleanisAllowedOperation(VCSGisUser user, String operation) voidsetAllowedOperations(String operation) voidsetDescription(String description) voidsetIdentifier(String identifier) voidvoidsetUserCode(String userCode) javax.json.JsonObjecttoJson()org.gvsig.json.JsonObjectBuilderstatic org.gvsig.json.JsonObjectBuildertoJsonBuilder(VCSGisUser user) toString()static StringtoString(VCSGisUser user) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJsonBuilder
-
Constructor Details
-
VCSGisUserImpl
public VCSGisUserImpl() -
VCSGisUserImpl
public VCSGisUserImpl(javax.json.JsonObject jsonData)
-
-
Method Details
-
getUserCode
- Specified by:
getUserCodein interfaceVCSGisUser
-
getDescription
- Specified by:
getDescriptionin interfaceVCSGisUser
-
getIdentifier
- Specified by:
getIdentifierin interfaceVCSGisUser
-
getAllowedOperations
- Specified by:
getAllowedOperationsin interfaceVCSGisUser
-
setUserCode
- Specified by:
setUserCodein interfaceVCSGisUserEditable
-
setDescription
- Specified by:
setDescriptionin interfaceVCSGisUserEditable
-
setIdentifier
- Specified by:
setIdentifierin interfaceVCSGisUserEditable
-
setAllowedOperations
- Specified by:
setAllowedOperationsin interfaceVCSGisUserEditable
-
copy
- Specified by:
copyin interfaceVCSGisUserEditable
-
copyFrom
- Specified by:
copyFromin interfaceVCSGisUser
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Specified by:
clonein interfaceVCSGisUserEditable- Overrides:
clonein classObject
-
getAllowedOperationsAsList
- Specified by:
getAllowedOperationsAsListin interfaceVCSGisUser
-
isAllowedOperation
- Specified by:
isAllowedOperationin interfaceVCSGisUser
-
fromJson
public void fromJson(javax.json.JsonObject json) - Specified by:
fromJsonin interfaceorg.gvsig.json.SupportFromJson
-
toJson
public javax.json.JsonObject toJson()- Specified by:
toJsonin interfaceorg.gvsig.json.SupportToJson
-
toJsonBuilder
public org.gvsig.json.JsonObjectBuilder toJsonBuilder()- Specified by:
toJsonBuilderin interfaceorg.gvsig.json.SupportToJson
-
toString
-
toString
-
toJsonBuilder
-
isAllowedOperation
-
fromJson
-
copyUser
-
getAllowedOperationsAsList
-
getRolesAsList
-
getRoles
- Specified by:
getRolesin interfaceVCSGisUser
-
getRolesAsList
- Specified by:
getRolesAsListin interfaceVCSGisUser
-
setRoles
- Specified by:
setRolesin interfaceVCSGisUserEditable
-