Class FileRequestParameters
java.lang.Object
com.priint.pubserver.comet.bridge.FileRequestParameters
- All Implemented Interfaces:
Serializable
The type File request parameters. For internal use only.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Parameter.static enumThe enum Search flag.static enumThe enum Snippet search flag. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOrIgnore(FileRequestParameters.Parameter parameter, Integer value) Contains or ignore boolean.booleancontainsOrIgnore(FileRequestParameters.Parameter parameter, String value) Contains or ignore boolean.Debug string string.booleanTest, if two objects are equal according to the declared search flags..Gets built by object entity classes.Gets built by object entity ids.Gets built by object group ids.Gets built by object ids.Gets built by parent object entity classes.Gets built by parent object entity ids.Gets built by parent object group ids.Gets built by parent object ids.Gets built by record string ids.Gets comet project.Gets contexts.Gets declared search flags.Gets document name.Gets document path.Gets frame info ids.Gets frame labels.Gets frame types.Gets frame ui ds.getIds()Gets ids.Gets layers.Gets object entity classes.Gets object entity ids.Gets object group ids.Gets object ids.getPages()Gets pages.Gets parent object entity classes.Gets parent object entity ids.Gets parent object group ids.Gets parent object ids.Gets placeholder ids.Gets placeholder infos 1.Gets placeholder infos 2.Gets processed search flags.Gets publication.Gets publication planner document id.Gets publication type.Gets record string ids.Gets script tags.getSearchFlagByName(String flag) Gets search flag by name.Gets snippet search flag by name.Gets snippet search flags.Gets template ids.Get used parameters as declared parameter [ ].Get used parameters as defined parameter [ ].booleanHas parameters as declared boolean.voidinitResultDocument(CometFrameInfoDocument document) Init result document.voidinitResultDocument(CometSnippetDocument document) Init result document.booleanTest, if an object matches parameters as defined.booleanmatchesSearchFlags(Object obj) Test, if an object matches parameters as declared by search flags.static FileRequestParametersParse file request parameters.voidsetCometProject(String cometProject) Sets comet project.voidsetContexts(List<String> contexts) Sets contexts.voidsetOrVerifyDocumentParameters(String cometProject, String documentName, String documentPath, String publicationPlannerDocumentId, String publication, String publicationType) Sets or verify document parameters.voidsetSnippetSearchFlags(List<FileRequestParameters.SnippetSearchFlag> snippetSearchFlags) Sets snippet search flags.toString()
-
Method Details
-
parse
Parse file request parameters.- Parameters:
query- the queryrootPath- the root path- Returns:
- the file request parameters
- Throws:
CometException- the comet exception
-
initResultDocument
Init result document.- Parameters:
document- the document
-
initResultDocument
Init result document.- Parameters:
document- the document
-
toString
-
debugString
Debug string string.- Returns:
- the string
-
getSnippetSearchFlagByName
public static FileRequestParameters.SnippetSearchFlag getSnippetSearchFlagByName(String flag) throws CometException Gets snippet search flag by name.- Parameters:
flag- the flag- Returns:
- the snippet search flag by name
- Throws:
CometException- the comet exception
-
getSearchFlagByName
public static FileRequestParameters.SearchFlag getSearchFlagByName(String flag) throws CometException Gets search flag by name.- Parameters:
flag- the flag- Returns:
- the search flag by name
- Throws:
CometException- the comet exception
-
getPlaceholderIds
Gets placeholder ids.- Returns:
- the placeholder ids
-
getDocumentName
Gets document name.- Returns:
- the document name
-
getDocumentPath
Gets document path.- Returns:
- the document path
-
getPublicationPlannerDocumentId
Gets publication planner document id.- Returns:
- the publication planner document id
-
getPublication
Gets publication.- Returns:
- the publication
-
getPublicationType
Gets publication type.- Returns:
- the publication type
-
getTemplateIds
Gets template ids.- Returns:
- the template ids
-
getPages
Gets pages.- Returns:
- the pages
-
getObjectEntityIds
Gets object entity ids.- Returns:
- the object entity ids
-
getObjectIds
Gets object ids.- Returns:
- the object ids
-
getObjectGroupIds
Gets object group ids.- Returns:
- the object group ids
-
getObjectEntityClasses
Gets object entity classes.- Returns:
- the object entity classes
-
getParentObjectEntityIds
Gets parent object entity ids.- Returns:
- the parent object entity ids
-
getParentObjectIds
Gets parent object ids.- Returns:
- the parent object ids
-
getParentObjectGroupIds
Gets parent object group ids.- Returns:
- the parent object group ids
-
getParentObjectEntityClasses
Gets parent object entity classes.- Returns:
- the parent object entity classes
-
getRecordStringIds
Gets record string ids.- Returns:
- the record string ids
-
getBuiltByObjectEntityIds
Gets built by object entity ids.- Returns:
- the built by object entity ids
-
getBuiltByObjectIds
Gets built by object ids.- Returns:
- the built by object ids
-
getBuiltByObjectGroupIds
Gets built by object group ids.- Returns:
- the built by object group ids
-
getBuiltByObjectEntityClasses
Gets built by object entity classes.- Returns:
- the built by object entity classes
-
getBuiltByParentObjectEntityIds
Gets built by parent object entity ids.- Returns:
- the built by parent object entity ids
-
getBuiltByParentObjectIds
Gets built by parent object ids.- Returns:
- the built by parent object ids
-
getBuiltByParentObjectGroupIds
Gets built by parent object group ids.- Returns:
- the built by parent object group ids
-
getBuiltByParentObjectEntityClasses
Gets built by parent object entity classes.- Returns:
- the built by parent object entity classes
-
getBuiltByRecordStringIds
Gets built by record string ids.- Returns:
- the built by record string ids
-
getLayers
Gets layers.- Returns:
- the layers
-
getFrameInfoIds
Gets frame info ids.- Returns:
- the frame info ids
-
getFrameLabels
Gets frame labels.- Returns:
- the frame labels
-
getFrameTypes
Gets frame types.- Returns:
- the frame types
-
getScriptTags
Gets script tags.- Returns:
- the script tags
-
getFrameUIDs
Gets frame ui ds.- Returns:
- the frame ui ds
-
getPlaceholderInfos1
Gets placeholder infos 1.- Returns:
- the placeholder infos 1
-
getPlaceholderInfos2
Gets placeholder infos 2.- Returns:
- the placeholder infos 2
-
getIds
Gets ids.- Returns:
- the ids
-
getProcessedSearchFlags
Gets processed search flags.- Returns:
- the processed search flags
-
getDeclaredSearchFlags
Gets declared search flags.- Returns:
- the declared search flags
-
getUsedParametersAsDeclared
Get used parameters as declared parameter [ ].- Returns:
- the parameter [ ]
-
getUsedParametersAsDefined
Get used parameters as defined parameter [ ].- Returns:
- the parameter [ ]
-
getCometProject
Gets comet project.- Returns:
- the comet project
-
setCometProject
Sets comet project.- Parameters:
cometProject- the comet project
-
hasParametersAsDeclared
public boolean hasParametersAsDeclared()Has parameters as declared boolean.- Returns:
- the boolean
-
containsOrIgnore
Contains or ignore boolean.- Parameters:
parameter- the parametervalue- the value- Returns:
- the boolean
-
containsOrIgnore
Contains or ignore boolean.- Parameters:
parameter- the parametervalue- the value- Returns:
- the boolean
-
matches
Test, if an object matches parameters as defined.
- Parameters:
obj- the object to test- Returns:
- true, if the object matches the defined search parameters, false otherwise.
-
matchesSearchFlags
Test, if an object matches parameters as declared by search flags.
- Parameters:
obj- the object to test- Returns:
- true, if the object matches the declared search parameters, false otherwise.
-
equals
Test, if two objects are equal according to the declared search flags..
- Parameters:
obj1- first object two compareobj2- second object to compare- Returns:
- true, if the objects are equal according to the declared search flags, false otherwise.
-
setOrVerifyDocumentParameters
public void setOrVerifyDocumentParameters(String cometProject, String documentName, String documentPath, String publicationPlannerDocumentId, String publication, String publicationType) throws CometException Sets or verify document parameters.- Parameters:
cometProject- the comet projectdocumentName- the document namedocumentPath- the document pathpublicationPlannerDocumentId- the publication planner document idpublication- the publicationpublicationType- the publication type- Throws:
CometException- the comet exception
-
getSnippetSearchFlags
Gets snippet search flags.- Returns:
- the snippet search flags
-
setSnippetSearchFlags
Sets snippet search flags.- Parameters:
snippetSearchFlags- the snippet search flags
-
getContexts
Gets contexts.- Returns:
- the contexts
-
setContexts
Sets contexts.- Parameters:
contexts- the contexts
-