Class VariableList
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.metadata.VariableList
-
- All Implemented Interfaces:
java.io.Serializable
public class VariableList extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VariableList(int listId, java.lang.String description, java.lang.String listName)
VariableList(long variableListId, java.lang.String description, java.lang.String variableListName, java.lang.String userName, boolean visibleToPublic, java.lang.String system)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addGroup(java.lang.String groupName, boolean writePermissions)
static VariableList
from(Group group)
java.lang.String
getDescription()
java.lang.String[]
getGroups()
java.util.List<java.lang.String>
getReadingGroups()
java.lang.String
getStamp()
Deprecated.this functionality has been fully removedjava.lang.String
getSystem()
java.lang.String
getUserName()
long
getVariableListId()
java.lang.String
getVariableListName()
java.util.List<java.lang.String>
getWritingGroups()
boolean
hasGroupWritingPermissions(java.lang.String groupName)
boolean
isVisibleToPublic()
void
removeGroup(java.lang.String groupName)
void
setDescription(java.lang.String description)
void
setStamp(java.lang.String stamp)
Deprecated.this functionality has been fully removedvoid
setSystem(java.lang.String system)
void
setUserName(java.lang.String userName)
void
setVariableListId(long variableListId)
void
setVariableListName(java.lang.String variableListName)
void
setVisibleToPublic(boolean visibleToPublic)
java.lang.String
toString()
-
-
-
Constructor Detail
-
VariableList
public VariableList(int listId, java.lang.String description, java.lang.String listName)
-
VariableList
public VariableList(long variableListId, java.lang.String description, java.lang.String variableListName, java.lang.String userName, boolean visibleToPublic, java.lang.String system)
-
-
Method Detail
-
from
public static VariableList from(Group group)
-
getStamp
@Deprecated public java.lang.String getStamp()
Deprecated.this functionality has been fully removed
-
setStamp
@Deprecated public void setStamp(java.lang.String stamp)
Deprecated.this functionality has been fully removed
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hasGroupWritingPermissions
public boolean hasGroupWritingPermissions(java.lang.String groupName)
-
getGroups
public java.lang.String[] getGroups()
-
getReadingGroups
public java.util.List<java.lang.String> getReadingGroups()
-
getWritingGroups
public java.util.List<java.lang.String> getWritingGroups()
-
addGroup
public void addGroup(java.lang.String groupName, boolean writePermissions)
-
removeGroup
public void removeGroup(java.lang.String groupName)
-
getVariableListId
public long getVariableListId()
-
getDescription
public java.lang.String getDescription()
-
getVariableListName
public java.lang.String getVariableListName()
-
getUserName
public java.lang.String getUserName()
-
isVisibleToPublic
public boolean isVisibleToPublic()
-
getSystem
public java.lang.String getSystem()
-
setVariableListId
public void setVariableListId(long variableListId)
-
setDescription
public void setDescription(java.lang.String description)
-
setVariableListName
public void setVariableListName(java.lang.String variableListName)
-
setUserName
public void setUserName(java.lang.String userName)
-
setVisibleToPublic
public void setVisibleToPublic(boolean visibleToPublic)
-
setSystem
public void setSystem(java.lang.String system)
-
-