public class ProjectObjectsList extends BasePOJO
Constructor and Description |
---|
ProjectObjectsList(ProjectObjectMetadata pProjectObjectMetadata,
java.lang.Long pProjectId) |
Modifier and Type | Method and Description |
---|---|
ProjectObjectPath |
createDummyProjectObjectPath(java.lang.String pObjectTypeCode) |
ProjectObjectPath |
createDummyProjectObjectPath(java.lang.String pObjectTypeCode,
java.lang.String pObjectPath,
long pProjectObjectId) |
ProjectObjectPath |
createProjectObjectPath(java.lang.Long pObjectTypeId,
java.lang.String pObjectPath)
This method is useful when reading existing data from database.
|
ProjectObjectPath |
createProjectObjectPath(java.lang.Long pObjectTypeId,
java.lang.String pObjectPath,
java.lang.String pSubcomponentName,
java.lang.String pSubcomponentType)
This method is useful when reading existing data from database.
|
ProjectObjectPath |
createProjectObjectPath(java.lang.String pObjectTypeCode,
java.lang.String pObjectPath)
This method is useful when adding new object path either by user manually
adding new object path, or by SCM repository scan.
|
ProjectObjectPath |
createProjectObjectPath(java.lang.String pObjectTypeCode,
java.lang.String pObjectPath,
java.lang.String pSubcomponentName,
java.lang.String pSubcomponentType)
This method is useful when adding new object path either by user manually
adding new object path, or by SCM repository scan.
|
java.lang.String |
fixupObjectPath(java.lang.String pObjectPath)
Use this method to fix up entered value of Object Path.
|
java.util.List<FilePathDeploymentPOJO> |
getActiveSelections() |
java.util.List<java.lang.String> |
getAllObjectPathsForSourceType(java.lang.String pSourceType) |
ProjectObjectMetadata |
getDefinition() |
java.lang.String |
getFolderPath() |
java.lang.Long |
getProjectId() |
java.lang.String |
getProjectName() |
ProjectObjectPath |
getProjectObjectPath(java.lang.String pObjectPath)
find POJO representing provided Object Path.
|
java.util.List<ProjectObjectsByType> |
getProjectObjectsByType() |
ProjectObjectsByType |
getProjectObjectsByType(java.lang.Long pObjectTypeId)
Get project objects by type list using Object Type Id.
|
ProjectObjectsByType |
getProjectObjectsByType(java.lang.String pObjectTypeCode)
Get project objects by type list using Object Type Code.
|
java.lang.String |
getProjectSCMType() |
java.lang.String |
getProjectType() |
int |
getTotalActiveCount() |
int |
getTotalActiveSelectionCount() |
int |
getTotalInactiveCount() |
int |
getTotalSelectionCount() |
boolean |
hasUncommittedChanges() |
ProjectObjectPath |
moveObjectPath(ProjectObjectPath pExistingObjectPath,
ProjectObjectPath pNewProjectObjectPath) |
void |
setFolderPath(java.lang.String pFolderPath) |
void |
setProjectName(java.lang.String pProjectName) |
void |
setProjectSCMType(java.lang.String pProjectSCMType) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
java.util.List<java.lang.String> |
validate() |
public ProjectObjectsList(ProjectObjectMetadata pProjectObjectMetadata, java.lang.Long pProjectId)
public void setProjectName(java.lang.String pProjectName)
public java.lang.String getProjectName()
public void setFolderPath(java.lang.String pFolderPath)
public java.lang.String getFolderPath()
public void setProjectSCMType(java.lang.String pProjectSCMType)
public java.lang.String getProjectSCMType()
public ProjectObjectMetadata getDefinition()
public java.lang.String getProjectType()
public java.lang.Long getProjectId()
public java.util.List<ProjectObjectsByType> getProjectObjectsByType()
public java.lang.String fixupObjectPath(java.lang.String pObjectPath)
pObjectPath
- public ProjectObjectPath getProjectObjectPath(java.lang.String pObjectPath)
pObjectPath
- public ProjectObjectsByType getProjectObjectsByType(java.lang.Long pObjectTypeId)
pObjectTypeId
- public ProjectObjectsByType getProjectObjectsByType(java.lang.String pObjectTypeCode)
pObjectTypeCode
- public ProjectObjectPath createProjectObjectPath(java.lang.Long pObjectTypeId, java.lang.String pObjectPath)
pObjectTypeId
- pObjectPath
- public ProjectObjectPath createProjectObjectPath(java.lang.Long pObjectTypeId, java.lang.String pObjectPath, java.lang.String pSubcomponentName, java.lang.String pSubcomponentType)
pObjectTypeId
- pObjectPath
- public ProjectObjectPath createProjectObjectPath(java.lang.String pObjectTypeCode, java.lang.String pObjectPath)
pObjectTypeCode
- pObjectPath
- public ProjectObjectPath createProjectObjectPath(java.lang.String pObjectTypeCode, java.lang.String pObjectPath, java.lang.String pSubcomponentName, java.lang.String pSubcomponentType)
pObjectTypeCode
- pObjectPath
- public boolean hasUncommittedChanges()
public java.util.List<FilePathDeploymentPOJO> getActiveSelections()
public java.lang.String toString()
BasePOJO
public int getTotalSelectionCount()
public int getTotalActiveSelectionCount()
public int getTotalActiveCount()
public int getTotalInactiveCount()
public java.util.List<java.lang.String> validate()
public ProjectObjectPath moveObjectPath(ProjectObjectPath pExistingObjectPath, ProjectObjectPath pNewProjectObjectPath)
public ProjectObjectPath createDummyProjectObjectPath(java.lang.String pObjectTypeCode)
public ProjectObjectPath createDummyProjectObjectPath(java.lang.String pObjectTypeCode, java.lang.String pObjectPath, long pProjectObjectId)
public java.util.List<java.lang.String> getAllObjectPathsForSourceType(java.lang.String pSourceType)